.rain-popup-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
}

.rain-popup {
  position: fixed;
  width: 355px;
  height: 30%;
  padding: 10px;
  z-index: 2100;
  background-color: #ffffff;
  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
  /* Safari and Chrome */
}

.rain-popup--top {
  top: 0 !important;
  animation: rain-popup-h-show 500ms;
  -webkit-animation: rain-popup-h-show 500ms;
}

.rain-popup--bottom {
  bottom: 0 !important;
  animation: rain-popup-h-show 500ms;
  -webkit-animation: rain-popup-h-show 500ms;
}

.rain-popup--left {
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  height: 100%;
  width: 30%;
  animation: rain-popup-w-show 500ms;
  -webkit-animation: rain-popup-w-show 500ms;
}

.rain-popup--right {
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  height: 100%;
  width: 30%;
  animation: rain-popup-w-show 500ms;
  -webkit-animation: rain-popup-w-show 500ms;
}

@keyframes rain-popup-h-show {
  from {
    height: 0%;
  }
  to {
    height: 30%;
  }
}

@keyframes rain-popup-w-show {
  from {
    width: 0%;
  }
  to {
    width: 30%;
  }
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 1s;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}
